package top.hjcwzx.wrench.mqtt.enums;

/**
 *
 * <p><b>类名：</b> MessageHandlerStrategyEnum</p>
 * <p><b>描述：</b> 消息处理策略选择</p>
 * <p><b>创建时间：</b> 2025-06-17 15:34</p>
 *
 * @author 胡锦程
 */
public enum MessageHandlerStrategyEnum {
    ANNOTATION_CALLBACK("基于注解回调的策略","directCallbackStrategy"),
    EVENT_PUBLISH("基于事件发布的策略","eventPublishStrategy"),
    MIXED("基于注解回调与事件发布的策略","mixedStrategy");


    private final String desc;
    private final String beanName;


    MessageHandlerStrategyEnum(String desc, String beanName) {
        this.desc = desc;
        this.beanName = beanName;
    }

    public String getBeanName() {
        return beanName;
    }

    public String getDesc() {
        return desc;
    }
}
